SOUND TYPE

This command will return an integer value of one if the specified Sound Number is a special 3D sound, otherwise zero will be returned.

  Syntax
Return Integer=SOUND TYPE(Sound Number)
  Parameters
Sound Number
Integer
The sound number

  Returns

The command will return an integer value of one if the specified Sound Number is a special 3D sound, otherwise zero will be returned

  Example Code
cls
load sound "man.wav",1
play sound 1
print "sound type "+str$(sound type(1))
wait 1000*8
stop sound 1
do
loop
end
  See also

SOUND Commands Menu
Index